// ==UserScript==
// @name           Webmail orange
// @include        http://webmail1c.orange.fr/webmail/fr_FR/*
// ==/UserScript==

(function () {
	var divs = document.getElementsByTagName("div");
	for (var i in divs) {
		var div = divs[i];
		if (div.id == "blocComboWriteMail" && div.className == "alignL comboMoveTo") {
			div.style.width = "105px"; break;
		}
	}

	var div = document.getElementById("onglets");
	if (div) {
		div = div.nextElementSibling;
		if (div) div.parentElement.removeChild(div);
	}
	div = document.getElementById("blocService");
	if (div) div.parentElement.removeChild(div);

	if (unsafeWindow) {
		unsafeWindow.resizeElems = function () {};
		unsafeWindow.resizeBorders = resizeElems;
	}
})();
